﻿using Microsoft.Extensions.Configuration;
using MiniFox.Configurations;

namespace Wechat.Corp.Message.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    [Section(ELEMENT_NAME)]
    public class WechatCorpMessageConfiguration : IWechatCorpMessageConfiguration
    {
        internal const string ELEMENT_NAME = "minifox:wechat:corp.message";

        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("msgSendUri")]
        public string MessageSendUri
        {
            get;
            set;
        } = IWechatCorpMessageConfiguration.MESSAGE_SEND_URI;

        ///// <summary>
        ///// 
        ///// </summary>
        //[ConfigurationKeyName("msgResultUri")]
        //public string MessageResultUri
        //{
        //    get;
        //    set;
        //} = IWechatCorpMessageConfiguration.MESSAGE_RESULT_URI;
        ///// <summary>
        ///// 
        ///// </summary>
        //[ConfigurationKeyName("msgStatusUpdateUri")]
        //public string MessageStatusUpdateUri
        //{
        //    get;
        //    set;
        //} = IWechatCorpMessageConfiguration.MESSAGE_STATUS_UPDATE_URI;
    }
}
